<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
		<script>
			//<![CDATA[
			function showRelation(title,url){
				iframe_rd.location.href=url;
				window_rd.setTitle(title);
				window_rd.show();
			}
			function closeWindow(jsvar){
				window_rd.hide();
				refreshData(jsvar);
			}
			function refreshData(jsvar){
			//if(dep_relation)
				//dep_relation.location.reload();
			//if(role_relation)
				//role_relation.location.reload();
			if(jsvar!=null&&''!=jsvar){
				var frame=document.getElementById(jsvar+'_frame');
				var src=frame.src;
				frame.src=src;
			}
		}
			
		    //]]>
		</script>
	</w:head>
	<w:page title="查看系统">
		<layout:borderLayout fitToBody="true">
			<layout:panel region="center" fit="true" split="true" border="false" styleClass="k4-combineform"
				autoScroll="true">
				<w:form>
			<layout:panelGrid cellpadding="0" cellspacing="0" border="1" styleClass="k4-form-grid"
					columns="2" id="panel1">
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="系统名称"></h:outputLabel>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="systemName" escape="false"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="系统地址"></h:outputLabel>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="systemUrl" escape="false"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="系统服务地址"></h:outputLabel>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="systemServiceAddress" escape="false"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="系统描述"></h:outputLabel>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="systemRemark" escape="false"></h:outputText>
					</layout:cell>
				</layout:panelGrid>
			</w:form>
		</layout:panel>
		
		<layout:panel region="south" split="true" fit="true" height="200" border="false">
				<layout:tabLayout border="false" style="height: 100%;" fit="true">
					<layout:panel title="关联用户"
						url="/modules/sso/listHumanOfOneSystem.faces?systemId=#{sso_showSystemBean.systemID}"
						lazyLoad="true" jsvar="humanList_relation">
					</layout:panel>
				</layout:tabLayout>
		</layout:panel>
		</layout:borderLayout>
		<layout:window jsvar="window_rd" show="false" width="348" height="157">
			<w:iframe id="iframe_rd" name="iframe_rd" style="width:100%;height:99%;"></w:iframe>
		</layout:window>
	</w:page>
</f:view>